package cn.rjzjh.tapestry.test;

import java.text.DateFormat;
import java.util.Locale;

public class UrlMatch {

	public static void main(String[] args) {
		String url = "/zh/aaaa/bbbb:";
		String rex = "(\\/(en|zh))?/aaaa/bbbb(:)?\\w*";
		
		//   \w*\:\/\/\w*\.\w*\.\w*\/
		System.out.println(url.matches(rex));
		
		 
	}
}
